/*
 * @Author: your name
 * @Date: 2021-06-16 16:16:05
 * @LastEditTime: 2021-06-16 16:19:15
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \rpcTask\rpcinterface\client\task\market\coupon.go
 */
package market

import (
	"context"

	"git.900sui.cn/kc/rpcinterface/client"
	"git.900sui.cn/kc/rpcinterface/interface/task/market"
)

type Coupon struct {
	client.Baseclient
}

// Init Init
func (a *Coupon) Init() *Coupon {
	a.ServiceName = "rpc_task"
	a.ServicePath = "Market/Coupon"
	return a
}

//设置优惠券过期提醒
func (c *Coupon) SetCouponProduce(ctx context.Context, args *market.ArgsCouponProduce, reply *bool) (err error) {
	return c.Call(ctx, "SetCouponProduce", args, reply)
}
